package com.xingkeduo.pojo.enums;

import com.xingkeduo.util.pojo.base.BaseEnum;

/**
 * @author chi  2019-01-22 11:41
 **/
public enum ThirdpartyType implements BaseEnum {
    WECHAT(1, "1"),
    WECHAT_XCX(2, "2"),
    ALIPAY(3, "3");

    private int type;

    private String desc;

    private ThirdpartyType(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    @Override
    public int getValue() {
        return this.type;
    }

    public String getDesc() {
        return this.desc;
    }
}
